//
//  UICollectionViewCell+MLKit.m
//  Pods
//
//  Created by molon on 15/7/31.
//
//

#import "UICollectionViewCell+MLKit.h"

@implementation UICollectionViewCell (MLKit)

+ (UINib *)nib
{
    return [UINib nibWithNibName:NSStringFromClass([self class]) bundle:[NSBundle mainBundle]];
}

+ (instancetype)instanceFromNib
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil]lastObject];
}

+ (NSString *)cellReuseIdentifier
{
    return NSStringFromClass([self class]);
}

+ (CGFloat)widthForObject:(id)object
{
    [self doesNotRecognizeSelector:_cmd];
    return 0.0f;
}

@end
